var topicId;

function deleteTopic(id){
	topicId = id;
	$( "#dialog-confirm" ).dialog( "open" );
}

function sure(){
	location.href='forum-deleteTopic.html?topicId=' + topicId;
}